local hx__shenpan = fk.CreateSkill {
  name = "hx__shenpan",
  tags = { Skill.Compulsory, },
}

hx__shenpan:addEffect(fk.DamageCaused, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    if target == player and player:hasSkill(hx__shenpan.name) and player.hp > data.to.hp and data.card and data.card.trueName == "slash" then
      return data.by_user
    end
  end,
  on_use = function(self, event, target, player, data)
    data.damage = data.damage + 1
  end,
})

return hx__shenpan